home *** CD-ROM | disk | FTP | other *** search
/ Sports Illustrated for Kids - Awesome Athletes! / Sports Illustrated for Kids - Awesome Athletes!.iso / tr.dir / 00224_No.ls < prev    next >
Encoding:
Text File  |  1996-04-18  |  731 b   |  31 lines

  1. on mouseDown
  2.   global gTREndGame, gTREndThisGame, gTRButtInhibit
  3.   put gTRButtInhibit
  4.   if gTRButtInhibit then
  5.     set gTRButtInhibit to 0
  6.     abort()
  7.   end if
  8.   puppetSprite(46, 1)
  9.   set the castNum of sprite 46 to the number of cast "No.dep"
  10.   updateStage()
  11.   repeat while the mouseDown
  12.     nothing()
  13.   end repeat
  14.   set the castNum of sprite 46 to the number of cast "No"
  15.   updateStage()
  16.   if the mouseCast = the number of cast "No" then
  17.     puppetSprite(44, 0)
  18.     updateStage()
  19.     NextRound()
  20.     puppetSprite(46, 0)
  21.     set the visible of sprite 45 to 0
  22.     updateStage()
  23.     set gTREndGame to 1
  24.     set gTREndThisGame to 1
  25.     EndGame()
  26.   end if
  27.   puppetSprite(46, 0)
  28.   set the visible of sprite 45 to 0
  29.   updateStage()
  30. end
  31.